package com.ruoyi.project.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 文档对象 pro_file
 * 
 * @author ruoyi
 * @date 2024-12-02
 */
public class ProFile extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 文件ID */
    private Long fileId;

    /** 项目ID */
    @Excel(name = "项目ID")
    private Long projectId;

    /** 上传者姓名 */
    @Excel(name = "上传者姓名")
    private String username;

    /** 路径 */
    @Excel(name = "路径")
    private String path;

    /** 文件名 */
    @Excel(name = "文件名")
    private String fileName;

    public void setFileId(Long fileId) 
    {
        this.fileId = fileId;
    }

    public Long getFileId() 
    {
        return fileId;
    }
    public void setProjectId(Long projectId) 
    {
        this.projectId = projectId;
    }

    public Long getProjectId() 
    {
        return projectId;
    }
    public void setUsername(String username) 
    {
        this.username = username;
    }

    public String getUsername() 
    {
        return username;
    }
    public void setPath(String path) 
    {
        this.path = path;
    }

    public String getPath() 
    {
        return path;
    }
    public void setFileName(String fileName) 
    {
        this.fileName = fileName;
    }

    public String getFileName() 
    {
        return fileName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("fileId", getFileId())
            .append("projectId", getProjectId())
            .append("username", getUsername())
            .append("path", getPath())
            .append("fileName", getFileName())
            .toString();
    }
}
